package com.linln.modules.integralmall.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.integralmall.domain.IntegralMallService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author : pengliang
 * @version V1.0
 * @Project: timo
 * @Package com.linln.integralmall.service.repository
 * @Descriptio /**
 * @Project: timo
 * @Package com.linln.integralmall.service.repository
 * @Description: TODO
 * @date Date : 2020年12月15日 11:13
 */
@Mapper
@Component
public interface IntegralMallServiceMapper extends BaseMapper<IntegralMallService> {
    List<IntegralMallService> getIntegralMallService(@Param("serviceName") String serviceName);

    List<Map<String,Object>> getIntegralMallList(@Param("serviceTypeId") String serviceTypeId,@Param("integral") Integer integral,@Param("integralMallServiceName") String integralMallServiceName);

    IntegralMallService getIntegralMallServiceInfo(@Param("serviceId") String serviceId);

}
